<layout name='layout' />

<div class="admin-main">
	<blockquote class="layui-elem-quote">
		<a href="<{:U('Chexing/index')}>" class="layui-btn layui-btn-small">
			<i class="layui-icon">&#xe608;</i> 返回列表
		</a>
		<a href="<{:U('Chexing/addcar',array('chexingID'=>$chexing['id']))}>" class="layui-btn layui-btn-small">
			<i class="layui-icon">&#xe608;</i> 添加具体车型
		</a>
	</blockquote>

	<fieldset class="layui-elem-field" style="margin-top: 20px;">
		<legend><{$chexing['carName']}></legend>
		<div class="layui-field-box">
			<form id="ajaxForm" method="post" action="<{:U('Chexing/del')}>">
			<table class="site-table table-hover">
				<thead>
					<tr>
						<th><input type="checkbox" id="selected-all"></th>							
						<th>车型</th>
						<th>发动机</th>
						<th>底盘</th>
						<th>CC</th>
						<th>KW</th>
						<th>类型</th>
						<th>缸数</th>
						<th>年款</th>
						<th>添加日期</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
					<volist name="list" id="vo">
					<tr>
						<td><input type="checkbox" name="selectedids[]" value="<{$vo.id}>"></td>
						<td><{$vo.name}></td>
						<td><{$vo.fadongji}></td>
						<td><{$vo.dipan}></td>
						<td><{$vo.cc}></td>						
						<td><{$vo.kw}></td>						
						<td><{$vo.type}></td>						
						<td><{$vo.guangshu}></td>						
						<td><{$vo.year}></td>						
						<td><{$vo.createTime|date='Y-m-d H:i:s',###}></td>
						<td>
							<a href="<{:U('Chexing/editcar' , array('id'=>$vo['id']))}>" class="layui-btn layui-btn-mini">编辑</a>
						</td>
					</tr>
					</volist>				
				</tbody>
			</table>
			</form>
		</div>
	</fieldset>
	<div class="admin-table-page">
		<div id="page" class="page"><{$page}></div>
	</div>
</div>